#!/bin/bash

sh ./pkg.sh &
pid1=$!
sh ./task.sh &
pid2=$!
wait ${pid1}
kill $pid2
exit 0

